﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: ClientLogEntity.cs
// 修改时间：2020-9-8 10:39:56
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：ClientLog 的实体类.
	/// </summary>
	[Table("ClientLog")]
	public partial class ClientLogEntity
	{
		#region Properties
		private int? _clientLogID = 0;
		/// <summary>
		/// 客户历史记录ID(主键)
		/// </summary>
		[Column("ClientLogID",TypeName="int")]
		[Key]
		public int? ClientLogID
		{
			get {return _clientLogID;}
			set {_clientLogID = value;}
		}
		
		private int? _clientID = 0;
		/// <summary>
		/// 客户ID
		/// </summary>
		[Column("ClientID",TypeName="int")]
		public int? ClientID
		{
			get {return _clientID;}
			set {_clientID = value;}
		}
		
		private System.String _relationType = string.Empty;
		/// <summary>
		/// 联系类型
		/// </summary>
		[Column("RelationType",TypeName="nvarchar(30)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String RelationType
		{
			get {return _relationType;}
			set {_relationType = value;}
		}
		
		private DateTime? _relationTime = null;
		/// <summary>
		/// 联系时间
		/// </summary>
		[Column("RelationTime",TypeName="datetime")]
		public DateTime? RelationTime
		{
			get {return _relationTime;}
			set {_relationTime = value;}
		}
		
		private System.String _contacter = string.Empty;
		/// <summary>
		/// 联系人
		/// </summary>
		[Column("Contacter",TypeName="nvarchar(20)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Contacter
		{
			get {return _contacter;}
			set {_contacter = value;}
		}
		
		private System.String _annalContent = string.Empty;
		/// <summary>
		/// 记录内容
		/// </summary>
		[Column("AnnalContent",TypeName="nvarchar(1000)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String AnnalContent
		{
			get {return _annalContent;}
			set {_annalContent = value;}
		}
		
		private DateTime? _annalTime = null;
		/// <summary>
		/// 记录时间
		/// </summary>
		[Column("AnnalTime",TypeName="datetime")]
		public DateTime? AnnalTime
		{
			get {return _annalTime;}
			set {_annalTime = value;}
		}
		
		private System.String _inputer = string.Empty;
		/// <summary>
		/// 记录人
		/// </summary>
		[Column("Inputer",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Inputer
		{
			get {return _inputer;}
			set {_inputer = value;}
		}
		
		#endregion
	}
}
